mirror of
https://github.com/YunoHost-Apps/osjs_ynh.git
synced 2024-09-03 19:56:11 +02:00
Create os.js.service
This commit is contained in:
parent
f571387b45
commit
31c2fcd06e
1 changed files with 15 additions and 0 deletions
15
conf/os.js.service
Normal file
15
conf/os.js.service
Normal file
|
@ -0,0 +1,15 @@
|
|||
[Unit]
|
||||
Description=OS.js is a web-desktop written in Nodejs and javascript.
|
||||
After=syslog.target
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=root
|
||||
WorkingDirectory=__FINALPATH__
|
||||
ExecStart=/usr/bin/node osjs run --port=__PORT__
|
||||
Restart=always
|
||||
Environment=USER=osjs HOME=__FINALPATH__
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Add table
Reference in a new issue