1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/libreddit_ynh.git synced 2024-09-03 19:36:05 +02:00
libreddit_ynh/conf/systemd.service
2022-03-22 11:30:59 +01:00

18 lines
385 B
Desktop File

[Unit]
Description=Libreddit: alternative to Reddit
Before=nginx.service
After=network.service
[Service]
User=__APP__
Group=__APP__
DynamicUser=yes
# Default Values
Environment=ADDRESS=127.0.0.1
Environment=PORT=__PORT__
# Optional Override
EnvironmentFile=-__FINALPATH__/libreddit.conf
ExecStart=__FINALPATH__/libreddit -a ${ADDRESS} -p ${PORT}
[Install]
WantedBy=multi-user.target