mirror of
https://github.com/YunoHost-Apps/cryptpad_ynh.git
synced 2024-09-03 18:26:14 +02:00
16 lines
287 B
SYSTEMD
16 lines
287 B
SYSTEMD
|
[Unit]
|
||
|
Description=CryptPad is an encrypted PAD Creator
|
||
|
After=syslog.target
|
||
|
After=network.target
|
||
|
|
||
|
[Service]
|
||
|
Type=simple
|
||
|
User=root
|
||
|
WorkingDirectory=__FINALPATH__
|
||
|
ExecStart=__NODE__ server.js
|
||
|
Restart=always
|
||
|
Environment=USER=__APP__ HOME=__FINALPATH__
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|