small improvements; aur package
This commit is contained in:
parent
79a6049a91
commit
03677e24be
15 changed files with 386 additions and 287 deletions
28
aur/sanic.service
Normal file
28
aur/sanic.service
Normal file
|
@ -0,0 +1,28 @@
|
|||
[Unit]
|
||||
Description=chaos music control
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=sanic
|
||||
Group=sanic
|
||||
ExecStart=/usr/bin/sanic
|
||||
Restart=always
|
||||
# security
|
||||
NoNewPrivileges=true
|
||||
ProtectSystem=strict
|
||||
ProtectHome=yes
|
||||
StateDirectory=sanic
|
||||
StateDirectoryMode=0750
|
||||
ConfigurationDirectory=sanic
|
||||
ConfigurationDirectoryMode=0750
|
||||
PrivateTmp=true
|
||||
ProtectKernelTunables=true
|
||||
ProtectKernelModules=true
|
||||
ProtectKernelLogs=true
|
||||
ProtectControlGroups=true
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue