mirror of
https://github.com/YunoHost-Apps/scrumblr_ynh.git
synced 2024-09-03 20:16:29 +02:00
Create scrumblr.service
This commit is contained in:
parent
4cb8c8845f
commit
2fcf6c45ce
1 changed files with 16 additions and 0 deletions
16
conf/scrumblr.service
Normal file
16
conf/scrumblr.service
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
[Unit]
|
||||||
|
Description=Scrumblr is a software to take note.
|
||||||
|
After=syslog.target
|
||||||
|
After=network.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=simple
|
||||||
|
User=scrumblr
|
||||||
|
Group=scrumblr
|
||||||
|
WorkingDirectory=/var/www/scrumblr
|
||||||
|
ExecStart=/usr/bin/npm start
|
||||||
|
Restart=always
|
||||||
|
Environment=USER=scrumblr HOME=/var/www/scrumblr
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
Loading…
Add table
Reference in a new issue