blob: 740d0b1406d551bad9372e089078d4b67a5e45e8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
[Unit]
Description=Immich microservices
Documentation=https://github.com/immich-app/immich
Requires=typesense-server.service
Requires=postgresql.service
Requires=immich-server.service
After=network.target
Wants=network-online.target
After=network-online.target
[Service]
User=immich
Group=immich
Type=simple
Restart=on-failure
EnvironmentFile=/etc/immich.conf
Environment=NODE_ENV=production
SyslogIdentifier=immich-microservices
ExecStart=node dist/main microservices
#needed for vaapi acceleration
#PrivateDevices=true
ProtectHome=true
ProtectSystem=strict
ProtectKernelTunables=yes
ProtectKernelModules=yes
ProtectControlGroups=yes
RestrictNamespaces=yes
SystemCallArchitectures=native
AmbientCapabilities=
CapabilityBoundingSet=
NoNewPrivileges=yes
WorkingDirectory=/usr/lib/immich/app/server
ReadWritePaths=/tmp /var/tmp /var/lib/immich/upload /var/lib/immich/.reverse-geocoding-dump
[Install]
WantedBy=multi-user.target
|