1
0
Fork 0
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:
frju365 2017-04-16 18:21:38 +02:00 committed by GitHub
parent f571387b45
commit 31c2fcd06e

15
conf/os.js.service Normal file
View 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