source: branches/1.1/pkg/rpm/systemd/jobarchived.service @ 953

Last change on this file since 953 was 953, checked in by olahaye, 6 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
Line 
1# SystemD File for jobarchived
2# Olivier LAHAYE <olivier.lahaye@cea.fr>
3# Ferbruay 19th 2013.
4
5[Unit]
6Description=Start/Stop the jobarchived batch jobs archiving daemon
7After=syslog.target network.target postgresql.service jobmond.service
8
9[Service]
10Type=forking
11EnvironmentFile=-/etc/sysconfig/jobarchived
12ExecStart=/usr/sbin/jobarchived --pidfile=/var/run/jobarchived.pid $OPTIONS
13PIDFile=/var/run/jobarchived.pid
14
15[Install]
16WantedBy=multi-user.target
17
Note: See TracBrowser for help on using the repository browser.