Added installation instructions and example files
This commit is contained in:
15
moshing-mammut.service.EXAMPLE
Normal file
15
moshing-mammut.service.EXAMPLE
Normal file
@ -0,0 +1,15 @@
|
||||
[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
|
Reference in New Issue
Block a user