nutools/lib/ulib/templates/webpyapp/@@name@@.service

11 lines
164 B
SYSTEMD
Raw Normal View History

2017-07-17 21:59:20 +04:00
[Unit]
Description=@@name@@ server
[Service]
Type=simple
ExecStart=/usr/bin/python2 @@basedir@@/server.py
Restart=on-failure
[Install]
WantedBy=multi-user.target