LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File freenet.service of Package freenet (Project home:p_conrad)

# (C) 2013 Peter Conrad <conrad@quisquis.de>
#
# This file is licensed under the terms of the
# GNU General Public License Version 2 or later. A copy of these terms should
# be enclosed as "LICENSE" in the package containing this file.

[Unit]
Description=Freenet reference daemon
After=local-fs.target
ConditionPathExists=/var/lib/freenet

[Install]
WantedBy=multiuser.target

[Service]
Environment=PATH=/usr/bin:/bin
EnvironmentFile=/etc/sysconfig/freenet
WorkingDirectory=/var/lib/freenet
User=freenet
ExecStart=/usr/bin/freenet
ExecStop=/usr/bin/freenet -shutdown
Restart=always

StandardInput=null
StandardOutput=syslog
StandardError=syslog

SyslogFacility=daemon
SyslogIdentifier=freenet
SyslogLevel=warning
SyslogLevelPrefix=false