summarylogtreecommitdiffstats
path: root/ente-server.service
blob: 360c1c955a20cfb9d325e4663c8ff7013175721e (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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
[Unit]
Description=Ente-server: self hosted server for Ente (mobile) clients"
After=postgresql.service minio.service
Requires=postgresql.service minio.service

[Service]
ExecStart=/usr/bin/ente-server
Restart=on-failure
Type=exec
KillMode=control-group
SyslogLevel=err
PIDFile=/run/ente-server/ente-server.pid
Environment=GIN_MODE=release
ReadWritePaths=/run/ente-server
NoExecPaths=/
ExecPaths=/usr/sbin /usr/lib64 /usr/bin/ente-server
WorkingDirectory=/usr/lib/ente-server
RuntimeDirectory=ente-server
RuntimeDirectoryMode=0750
UMask=0077
SystemCallFilter=@system-service
AmbientCapabilities=
CapabilityBoundingSet=
NoNewPrivileges=true
DynamicUser=false
User=ente
Group=ente
RemoveIPC=true
PrivateTmp=true
PrivateDevices=true
PrivateNetwork=false
PrivateIPC=true
PrivateUsers=false
ProtectHome=true
ProtectSystem=strict
ProtectHostname=true
ProtectClock=true
ProtectKernelTunables=true
ProtectKernelModules=true
ProtectKernelLogs=true
ProtectKernelTunables=true
ProtectControlGroups=true
ProtectProc=noaccess
ProcSubset=all
RestrictFileSystems=ext4 tmpfs
RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6
RestrictNamespaces=true
RestrictSUIDSGID=true
RestrictRealtime=true
StandardInput=null
StandardOutput=journal
StandardError=journal
LockPersonality=true
MemoryDenyWriteExecute=true
KeyringMode=private
SystemCallArchitectures=native
IPAddressDeny=any
IPAddressAllow=127.0.0.1
IPAddressAllow=::1

[Install]
WantedBy=multi-user.target