1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/shiori_ynh.git synced 2024-09-03 20:26:17 +02:00

Update systemd.service

This commit is contained in:
ericgaspar 2022-01-10 15:27:34 +01:00
parent 6416414ced
commit 04356639b8
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -8,7 +8,7 @@ Type=simple
User=__APP__ User=__APP__
Group=__APP__ Group=__APP__
WorkingDirectory=__FINALPATH__/ WorkingDirectory=__FINALPATH__/
ExecStart=__FINALPATH__/__APP__ serve --port __PORT__ ExecStart=__FINALPATH__/__APP__ serve --port __PORT__ --db-type mysql --db-dsn __DB_USER__:__DB_PWD__@(localhost)/__DB_NAME__?charset=utf8&parseTime=True&loc=Local
Environment="SHIORI_DIR=__DATADIR__" Environment="SHIORI_DIR=__DATADIR__"
StandardOutput=append:/var/log/__APP__/__APP__.log StandardOutput=append:/var/log/__APP__/__APP__.log
StandardError=inherit StandardError=inherit