File tree 2 files changed +20
-1
lines changed
2 files changed +20
-1
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ config_files = $(generated_config_files) $(static_config_files)
6
6
pkgsysconfdir = $(sysconfdir ) /ipfixcol
7
7
pkgsysconf_DATA = $(config_files )
8
8
9
- EXTRA_DIST = $(static_config_files ) ipfixcol ipfixcol-check-running internalcfg.xml.template
9
+ EXTRA_DIST = $(static_config_files ) ipfixcol ipfixcol.service ipfixcol -check-running internalcfg.xml.template
10
10
CLEANFILES = $(generated_config_files )
11
11
12
12
internalcfg.xml : internalcfg.xml.template
Original file line number Diff line number Diff line change
1
+ [Unit]
2
+ Description =IPFIXcol service
3
+ Documentation =https://github.com/CESNET/ipfixcol
4
+ Requires =network.target remote-fs.target
5
+ After =network.target remote-fs.target
6
+
7
+ [Service]
8
+ Type =forking
9
+ PIDFile =/var/run/ipfixcol.pid
10
+ User =root
11
+ Group =root
12
+ EnvironmentFile =/etc/sysconfig/ipfixcol
13
+ ExecStart =/usr/bin/ipfixcol -d -p /var/run/ipfixcol.pid $IPFIXCOL_PARAMS
14
+ ExecStop =
15
+ Restart =on-failure
16
+ SyslogIdentifier =ipfixcol
17
+
18
+ [Install]
19
+ WantedBy =multi-user.target
You can’t perform that action at this time.
0 commit comments