mirror of
https://github.com/YunoHost-Apps/friendica_ynh.git
synced 2024-09-03 18:36:14 +02:00
22 lines
No EOL
589 B
Desktop File
22 lines
No EOL
589 B
Desktop File
[Unit]
|
|
Description=Friendica daemon
|
|
After=network.target mariadb.service
|
|
Requires=network.target remote-fs.target nss-lookup.target
|
|
|
|
[Service]
|
|
User=__APP__
|
|
Group=__APP__
|
|
WorkingDirectory=__INSTALL_DIR__/
|
|
Type=simple
|
|
StandardOutput=null
|
|
StandardError=syslog
|
|
ExecStart=/usr/bin/php__PHPVERSION__ __INSTALL_DIR__/bin/daemon.php start
|
|
ExecStop=/usr/bin/php__PHPVERSION__ __INSTALL_DIR__/bin/daemon.php stop
|
|
PIDFile=friendica/daemon.pid
|
|
PrivateTmp=true
|
|
InaccessibleDirectories=/home /root /boot /opt /mnt /media
|
|
ReadOnlyDirectories=/etc /usr
|
|
Restart=always
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target |