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

21 lines
498 B
SYSTEMD
Raw Normal View History

2020-08-17 17:29:58 +02:00
[Unit]
Description=Droppy: self-hosted file storage server
After=network.target
[Service]
2022-06-02 00:45:50 +02:00
Type=simple
2020-08-17 17:29:58 +02:00
User=__APP__
Group=__APP__
2022-06-02 00:45:50 +02:00
WorkingDirectory=__FINALPATH__/
2020-08-17 17:29:58 +02:00
Environment="NODE_ENV=production"
2022-06-02 00:45:50 +02:00
Environment="__YNH_NODE_LOAD_PATH__"
2020-08-17 17:29:58 +02:00
ExecStart= __FINALPATH__/droppy.js start -c __FINALPATH__/config -f /home/yunohost.app/__APP__/files
AmbientCapabilities=CAP_NET_BIND_SERVICE
Restart=always
SyslogIdentifier=__APP__
StandardOutput=journal
StandardError=journal
[Install]
2022-06-02 00:45:50 +02:00
WantedBy=multi-user.target