Axione-FTTH-Test/dist/elig-test.service

28 lines
513 B
Desktop File

[Unit]
After=network.target
WantedBy=default.target
[Service]
Environment="PORT=66666"
ConfigurationDirectory=ftth-elig
WorkingDirectory="/srv/www/..."
ExecStart="./startGunicornService"
User=
Group=
Restart=on-failure
RestartSec=30
# Sandboxing
ProtectSystem=strict
ProtectHome=tmpfs
PrivateTmp=true
PrivateDevices=true
PrivateIPC=true
ProtectClock=true
ProtectKernelTunables=true
ProtectKernelModules=true
ProtectKernelLogs=true
ProtectControlGroups=true
RestrictAddressFamilies=AF_INET
RestrictRealtime=true