bitlbee/bitlbee.service-suse.in
Matej Cepl c2ef74a20f Accepting request 953116 from home:fbonazzi:branches:server:irc
- Fix bitlbee runtime directory (bsc#1193230)
  * create service runtime directory with correct SELinux context
  Modified:
  * bitlbee.service-suse.in

OBS-URL: https://build.opensuse.org/request/show/953116
OBS-URL: https://build.opensuse.org/package/show/server:irc/bitlbee?expand=0&rev=46
2022-02-10 12:10:57 +00:00

39 lines
896 B
Plaintext

# Copyright (c) 1995-2015 SUSE Linux GmbH, Nuernberg, Germany.
# All rights reserved.
#
# Author: Martin Caj <mcaj@suse.cz>
#
# /usr/lib/systemd/system/bitlbee-server.service
#
# and it's symbolic link
#
# /usr/sbin/rcbitlbee
[Unit]
Description=Bitblee Daemon the IM to IRC gateway
After=network.target
[Service]
# added automatically, for details please see
# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
ProtectSystem=full
ProtectHome=read-only
PrivateDevices=true
ProtectHostname=true
ProtectClock=true
ProtectKernelTunables=true
ProtectKernelModules=true
ProtectKernelLogs=true
ProtectControlGroups=true
RestrictRealtime=true
# end of automatic additions
Type=forking
RuntimeDirectory=bitlbee
ExecStart=/usr/sbin/bitlbee -F -u bitlbee
PIDFile=/run/bitlbee/bitlbee.pid
ExecReload=/bin/kill -HUP $MAINPID
Restart=always
[Install]
WantedBy=multi-user.target