moshing-mammut/moshing-mammut.service.EXAMPLE

15 lines
311 B
Plaintext
Raw Normal View History

[Unit]
Description=Moshing Mammut
[Service]
ExecStart=/PATH_TO_MOSHING_MAMMUT/start.sh
Restart=always
User=MOSHING_MAMMUT_USER
Group=nogroup
Environment=PATH=/usr/bin:/usr/local/bin
Environment=NODE_ENV=production
WorkingDirectory=/PATH_TO_MOSHING_MAMMUT/
KillMode=process
[Install]
WantedBy=multi-user.target