Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Xavier Bachelot
lemonldap-ng
Commits
60d8e25d
Commit
60d8e25d
authored
Mar 07, 2016
by
Yadd
Browse files
Use native tmpfiles.d for systemd (
#969
)
parent
9088aa44
Changes
4
Hide whitespace changes
Inline
Side-by-side
debian/lemonldap-ng-fastcgi-server.service
View file @
60d8e25d
[Unit]
Description
=
FastCGI server for Lemonldap::NG websso system
After
=
network.target
Documentation
=
http://lemonldap-ng.org/documentation/latest/fastcgiserver
[Service]
Type
=
forking
EnvironmentFile
=
/etc/default/lemonldap-ng-fastcgi-server
PIDFile
=
/var/run/llng-fastcgi-server/llng-fastcgi-server.pid
ExecStartPre
=
-/bin/mkdir /var/run/llng-fastcgi-server
ExecStartPre
=
/bin/chown www-data:www-data /var/run/llng-fastcgi-server
ExecStart
=
/usr/sbin/llng-fastcgi-server
ExecStop
=
-/sbin/start-stop-daemon --quiet --stop --retry QUIT/5 --pidfile ${PID}
KillMode
=
mixed
...
...
debian/lemonldap-ng-fastcgi-server.tmpfile
0 → 100644
View file @
60d8e25d
d /run/llng-fastcgi-server 0755 www-data www-data - -
debian/liblemonldap-ng-common-perl.lintian-overrides
View file @
60d8e25d
...
...
@@ -11,3 +11,5 @@ liblemonldap-ng-common-perl: non-standard-file-perm var/lib/lemonldap-ng/conf/lm
# directory, so it must not be readable by all but must be writable by www-data
liblemonldap-ng-common-perl: non-standard-dir-perm var/lib/lemonldap-ng/sessions/ 0770 != 0755
liblemonldap-ng-common-perl: non-standard-dir-perm var/lib/lemonldap-ng/sessions/lock/ 0770 != 0755
liblemonldap-ng-common-perl: non-standard-dir-perm var/lib/lemonldap-ng/psessions/ 0770 != 0755
liblemonldap-ng-common-perl: non-standard-dir-perm var/lib/lemonldap-ng/psessions/lock/ 0770 != 0755
fastcgi-server/systemd/llng-fastcgi-server.service
View file @
60d8e25d
...
...
@@ -6,8 +6,6 @@ After=network.target
Type
=
forking
EnvironmentFile
=
/etc/default/llng-fastcgi-server
PIDFile
=
__FASTCGISOCKDIR__/llng-fastcgi-server.pid
ExecStartPre
=
-/bin/mkdir __FASTCGISOCKDIR__
ExecStartPre
=
/bin/chown __USER__:__GROUP__ __FASTCGISOCKDIR__
ExecStart
=
__SBINDIR__/llng-fastcgi-server
ExecStop
=
-/sbin/start-stop-daemon --quiet --stop --retry QUIT/5 --pidfile ${PID}
KillMode
=
mixed
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment