14 lines
236 B
SYSTEMD
14 lines
236 B
SYSTEMD
|
[Unit]
|
||
|
Description=NGINX Manager
|
||
|
After=network.target
|
||
|
|
||
|
[Service]
|
||
|
Type=simple
|
||
|
ExecStart=/usr/bin/python3 /root/hns-links/server.py
|
||
|
WorkingDirectory=/root/hns-links
|
||
|
Restart=always
|
||
|
User=root
|
||
|
Group=root
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|