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
2019-01-05 19:42:55 +01:00

15 lines
309 B
Desktop File

[Unit]
Description=CryptPad service
After=syslog.target network.target
[Service]
Type=simple
User=__APP__
Group=__APP__
WorkingDirectory=__FINALPATH__
Environment=NODE_ENV=production
ExecStart=/bin/sh -c 'node server' | tee /var/log/cryptpad/cryptpad.log
Restart=always
[Install]
WantedBy=multi-user.target