Files
coulobre/deploy/systemd/coulobre-panel.service
T

26 lines
636 B
Desktop File

[Unit]
Description=Coulobre Panel web service
Wants=network-online.target
After=network-online.target mariadb.service
[Service]
Type=exec
User=coulobre-panel
Group=www-data
EnvironmentFile=/etc/coulobre/panel.env
WorkingDirectory=/opt/coulobre
RuntimeDirectory=coulobre-panel
RuntimeDirectoryMode=0750
UMask=0007
ExecStart=/opt/coulobre/bin/gunicorn --bind unix:/run/coulobre-panel/panel.sock --umask 0o007 --no-control-socket --forwarder-headers= coulobre.wsgi:application
KillMode=mixed
Restart=on-failure
RestartSec=5s
NoNewPrivileges=true
PrivateTmp=true
ProtectHome=true
ProtectSystem=strict
[Install]
WantedBy=multi-user.target