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

19 lines
489 B
SYSTEMD
Raw Normal View History

2021-07-14 18:51:23 +02:00
[Unit]
Description=Epicyon: Federated social network server
After=network.target
2021-03-01 02:41:36 +01:00
[Service]
Type=simple
User=__APP__
Group=__APP__
2024-02-04 20:34:59 +01:00
WorkingDirectory=__INSTALL_DIR__/source
2024-02-04 19:55:35 +01:00
ExecStart=/usr/bin/python3 __INSTALL_DIR__/source/epicyon.py --port 443 --proxy __PORT__ --domain __DOMAIN__ --registration open --log_login_failures
2021-03-01 02:41:36 +01:00
Environment=USER=__APP__
Environment=PYTHONUNBUFFERED=true
Restart=always
StandardError=/var/log/__APP__/__APP__.log
CPUQuota=80%
[Install]
2021-07-14 18:51:23 +02:00
WantedBy=multi-user.target