Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing Systemd launcher in doc #70

Closed
dominiquefournier opened this issue Feb 25, 2022 · 0 comments
Closed

Missing Systemd launcher in doc #70

dominiquefournier opened this issue Feb 25, 2022 · 0 comments
Assignees

Comments

@dominiquefournier
Copy link
Contributor

dominiquefournier commented Feb 25, 2022

In the README.md file, there is a missing part : the listen.php launcher !

It is the /etc/systemd/system/nfsen.service file :

[Unit]
Description=nfsen-ng daemon
Requires=network.target remote-fs.target apache2.service

[Service]
PIDFile=/var/www/html/nfsen-ng/backend/nfsen-ng.pid
WorkingDirectory=/var/www/html/nfsen-ng/backend/
ExecStart=/usr/bin/php /var/www/html/nfsen-ng/backend/listen.php
Restart=always
Type=simple
KillMode=process
User=www-data
Group=www-data
StandardOutput=null
StandardError=syslog
ProtectSystem=full
ProtectHome=true
PrivateTmp=true

[Install]
WantedBy=multi-user.target

Of course it should be adapted with the pathes.

After, the systemd must be reloaded : systemctl daemon-reload

@mbolli mbolli pinned this issue Feb 8, 2024
@mbolli mbolli closed this as completed Feb 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants