boobo94

7 object(s)

Create systemd service (Ubuntu 15+)

Setup

[Unit]
Description=CUSTOM_SERVICE_NAME

[Service]
ExecStart=/opt/www/EXEC_FILE
WorkingDirectory=/opt/www
Restart=always

[Install]
WantedBy=multi-user.target

Gist on GitHub here