summarylogtreecommitdiffstats
path: root/odoo.service
blob: 70020fd4ace195ef5fb7912bc3d536253a3aa68c (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/odoo
User=odoo
Group=odoo
SyslogIdentifier=Odoo
PIDFile=/run/odoo/odoo.pid
ExecStartPre=/usr/bin/install -d -m755 -o odoo -g odoo /run/odoo
ExecStart=/usr/bin/odoo -c $ODOO_CONF --pidfile=/run/odoo/odoo.pid $ODOO_ARGS
ExecStop=/bin/kill $MAINPID

[Install]
WantedBy=multi-user.target