1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/hat_ynh.git synced 2024-09-03 19:16:04 +02:00
hat_ynh/conf/systemd.service

17 lines
337 B
SYSTEMD
Raw Normal View History

2022-05-28 17:05:04 +02:00
[Unit]
2023-08-18 11:19:59 +02:00
Description=Hat.sh: encrypt and decrypt files securely
2022-05-28 17:05:04 +02:00
After=network.target
[Service]
Type=simple
User=__APP__
Group=__APP__
2023-05-17 06:55:58 +02:00
Environment=NODE_PORT=__PORT__
2024-06-17 22:43:50 +02:00
WorkingDirectory=__INSTALL_DIR__/
Environment="__YNH_NODE_LOAD_PATH__"
2023-05-17 06:55:58 +02:00
Environment=NODE_ENV=production
2023-05-17 07:28:48 +02:00
ExecStart=__YNH_NPM__ run start
2023-05-02 15:02:01 +02:00
2022-05-28 17:05:04 +02:00
[Install]
WantedBy=multi-user.target