24 lines
592 B
Desktop File
24 lines
592 B
Desktop File
[Unit]
|
|||
|
|
Description=Coulobre DirectAdmin local restore request
|
||
|
|
After=apache2.service mariadb.service
|
||
|
|
CollectMode=inactive-or-failed
|
||
|
|
|
||
|
|
[Service]
|
||
|
|
Type=exec
|
||
|
|
User=root
|
||
|
|
UMask=0077
|
||
|
|
WorkingDirectory=/opt/coulobre
|
||
|
|
ExecStart=/opt/coulobre/bin/python -m coulobre.directadmin_node_receiver
|
||
|
|
StandardInput=socket
|
||
|
|
StandardOutput=socket
|
||
|
|
StandardError=journal
|
||
|
|
RuntimeMaxSec=30min
|
||
|
|
KillSignal=SIGINT
|
||
|
|
KillMode=mixed
|
||
|
|
NoNewPrivileges=true
|
||
|
|
CapabilityBoundingSet=~CAP_SYS_RESOURCE
|
||
|
|
PrivateTmp=true
|
||
|
|
ProtectHome=true
|
||
|
|
ProtectSystem=strict
|
||
|
|
ReadWritePaths=-/srv/coulobre/web -/var/lib/coulobre/database-node
|
||
|
|
MemoryMax=512M
|