Merge pull request #267 from moobyfr/fix-systemd-debian
some fixes for systemd on debian
This commit is contained in:
commit
5f16481feb
@ -7,7 +7,8 @@ BindTo=xrdp.service
|
||||
[Service]
|
||||
Type=forking
|
||||
PIDFile=/var/run/xrdp-sesman.pid
|
||||
EnvironmentFile=/etc/sysconfig/xrdp
|
||||
EnvironmentFile=-/etc/sysconfig/xrdp
|
||||
EnvironmentFile=-/etc/default/xrdp
|
||||
ExecStart=/usr/sbin/xrdp-sesman $SESMAN_OPTIONS
|
||||
ExecStop=/usr/sbin/xrdp-sesman $SESMAN_OPTIONS --kill
|
||||
|
||||
|
@ -6,8 +6,9 @@ After=syslog.target network.target xrdp-sesman.service
|
||||
[Service]
|
||||
Type=forking
|
||||
PIDFile=/var/run/xrdp.pid
|
||||
EnvironmentFile=/etc/sysconfig/xrdp
|
||||
ExecStart=/usr/sbin/xrdp $XRDP_OPTIONS --nodaemon
|
||||
EnvironmentFile=-/etc/sysconfig/xrdp
|
||||
EnvironmentFile=-/etc/default/xrdp
|
||||
ExecStart=/usr/sbin/xrdp $XRDP_OPTIONS
|
||||
ExecStop=/usr/sbin/xrdp $XRDP_OPTIONS --kill
|
||||
|
||||
[Install]
|
||||
|
Loading…
Reference in New Issue
Block a user