Last change
on this file since 953 was
953,
checked in by olahaye, 9 years ago
|
Packaging: Added support for native systemd service files (Makefile and rpm side)
Reworked rpm to add --with flags for easy rpm customization.
|
File size:
455 bytes
|
Rev | Line | |
---|
[953] | 1 | # SystemD File for jobarchived |
---|
| 2 | # Olivier LAHAYE <olivier.lahaye@cea.fr> |
---|
| 3 | # Ferbruay 19th 2013. |
---|
| 4 | |
---|
| 5 | [Unit] |
---|
| 6 | Description=Start/Stop the jobarchived batch jobs archiving daemon |
---|
| 7 | After=syslog.target network.target postgresql.service jobmond.service |
---|
| 8 | |
---|
| 9 | [Service] |
---|
| 10 | Type=forking |
---|
| 11 | EnvironmentFile=-/etc/sysconfig/jobarchived |
---|
| 12 | ExecStart=/usr/sbin/jobarchived --pidfile=/var/run/jobarchived.pid $OPTIONS |
---|
| 13 | PIDFile=/var/run/jobarchived.pid |
---|
| 14 | |
---|
| 15 | [Install] |
---|
| 16 | WantedBy=multi-user.target |
---|
| 17 | |
---|
Note: See
TracBrowser
for help on using the repository browser.