summarylogtreecommitdiffstats
path: root/openerp.service
blob: d06d12f6def22785554e6d5543b03acba1e78256 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
[Unit]
Description=Advanced OpenSource ERP and CRM server


[Service]
Type=simple
PermissionsStartOnly=true
EnvironmentFile=-/etc/conf.d/openerp
User=openerp
Group=openerp
SyslogIdentifier=OpenERP
PIDFile=/run/openerp/openerp.pid
ExecStartPre=/usr/bin/install -d -m755 -o openerp -g openerp /run/openerp
ExecStart=/usr/bin/openerp-server -c $OPENERP_CONF --pidfile=/run/openerp/openerp.pid $OPENERP_ARGS
ExecStop=/bin/kill $MAINPID

[Install]
WantedBy=multi-user.target