site-manager/nginx-manager.service

14 lines
240 B
SYSTEMD
Raw Permalink Normal View History

2024-02-23 13:55:05 +11:00
[Unit]
2024-02-23 14:42:15 +11:00
Description=NGINX Manager
2024-02-23 13:55:05 +11:00
After=network.target
[Service]
Type=simple
ExecStart=/usr/bin/python3 /root/site-manager/main.py
WorkingDirectory=/root/site-manager
Restart=always
2024-02-23 14:42:15 +11:00
User=root
Group=root
2024-02-23 13:55:05 +11:00
[Install]
WantedBy=multi-user.target