mirror of
https://github.com/YunoHost-Apps/shiori_ynh.git
synced 2024-09-03 20:26:17 +02:00
Update systemd.service
This commit is contained in:
parent
8df6b3a2a8
commit
aadbef60ce
1 changed files with 0 additions and 44 deletions
|
@ -10,51 +10,7 @@ Group=__APP__
|
|||
WorkingDirectory=__FINALPATH__/
|
||||
ExecStart=__FINALPATH__/shiori serve --port __PORT__
|
||||
Restart=always
|
||||
|
||||
Environment="SHIORI_DIR=__DATADIR__"
|
||||
DynamicUser=true
|
||||
PrivateUsers=true
|
||||
ProtectHome=true
|
||||
ProtectKernelLogs=true
|
||||
RestrictAddressFamilies=AF_INET AF_INET6
|
||||
StateDirectory=shiori
|
||||
SystemCallErrorNumber=EPERM
|
||||
SystemCallFilter=@system-service
|
||||
SystemCallFilter=~@chown
|
||||
SystemCallFilter=~@keyring
|
||||
SystemCallFilter=~@memlock
|
||||
SystemCallFilter=~@setuid
|
||||
DeviceAllow=
|
||||
|
||||
CapabilityBoundingSet=
|
||||
LockPersonality=true
|
||||
MemoryDenyWriteExecute=true
|
||||
NoNewPrivileges=true
|
||||
PrivateDevices=true
|
||||
PrivateTmp=true
|
||||
ProtectControlGroups=true
|
||||
ProtectKernelTunables=true
|
||||
ProtectSystem=full
|
||||
ProtectClock=true
|
||||
ProtectKernelModules=true
|
||||
ProtectProc=noaccess
|
||||
ProtectHostname=true
|
||||
ProcSubset=pid
|
||||
RestrictNamespaces=true
|
||||
RestrictRealtime=true
|
||||
RestrictSUIDSGID=true
|
||||
SystemCallArchitectures=native
|
||||
SystemCallFilter=~@clock
|
||||
SystemCallFilter=~@debug
|
||||
SystemCallFilter=~@module
|
||||
SystemCallFilter=~@mount
|
||||
SystemCallFilter=~@raw-io
|
||||
SystemCallFilter=~@reboot
|
||||
SystemCallFilter=~@privileged
|
||||
SystemCallFilter=~@resources
|
||||
SystemCallFilter=~@cpu-emulation
|
||||
SystemCallFilter=~@obsolete
|
||||
UMask=0077
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
Loading…
Add table
Reference in a new issue