1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/cryptpad_ynh.git synced 2024-09-03 18:26:14 +02:00
cryptpad_ynh/conf/systemd.service

18 lines
349 B
SYSTEMD
Raw Normal View History

[Unit]
Description=CryptPad is an encrypted PAD Creator
After=syslog.target
After=network.target
[Service]
Type=simple
User=__APP__
Group=__APP__
ExecStartPre=__NODEJS__
WorkingDirectory=__FINALPATH__
Environment="PATH=__ENV_PATH__"
2018-04-17 10:34:21 +02:00
ExecStart=__NODE__ server | tee /var/log/__APP__/__APP__.log
Restart=always
[Install]
WantedBy=multi-user.target